package com.rchat.pocmini.bean2eventbus;

import com.airtalkee.sdk.entity.AirSession;
import com.aso.common.eventbus.basebean.EventBusBaseBean;

/**
 * @Description ：
 * @Author itsdf07
 * @Time 2018/1/8
 */

public class TalkBean extends EventBusBaseBean {

    /**
     * 对讲准备中
     */
    public static final int EVENT_TALK_PREPARE = 11;
    /**
     * 可以对讲
     */
    public static final int EVENT_TALKING = 2;
    /**
     * 对讲结束
     */
    public static final int EVENT_TALKED = 3;
    /**
     * 对讲异常
     */
    public static final int EVENT_TALK_ERR = 4;
    /**
     * 对讲异常:有人在对讲
     */
    public static final int EVENT_TALK_ERR_HAS = 41;
    /**
     * 对讲异常:话语权申请失败
     */
    public static final int EVENT_TALK_ERR_FAILED = 42;

    public AirSession airSession;

    public int reason = -1;

    public AirSession getAirSession() {
        return airSession;
    }

    public void setAirSession(AirSession airSession) {
        this.airSession = airSession;
    }

    public int getReason() {
        return reason;
    }

    public void setReason(int reason) {
        this.reason = reason;
    }
}
